Skip to content

gh-139757: Add BINARY_OP_SUBSCR_USTR_INT#143389

Merged
Fidget-Spinner merged 11 commits intopython:mainfrom
chris-eibl:substr_cstr_int
Jan 4, 2026
Merged

gh-139757: Add BINARY_OP_SUBSCR_USTR_INT#143389
Fidget-Spinner merged 11 commits intopython:mainfrom
chris-eibl:substr_cstr_int

Conversation

@chris-eibl
Copy link
Member

@chris-eibl chris-eibl commented Jan 3, 2026

Since #140800 BINARY_OP_SUBSCR_STR_INT only specializes for compact ASCII strings. Let's introduce BINARY_OP_SUBSCR_USTR_INT to specialize again for reading an ASCII character from any string.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants